package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.param.RpaChargeTaskUpdateApiRequestParams;
import com.settlement.system.model.entity.common.TblRpaChargeTask;

import java.util.List;
import java.util.Map;

/**
 * RPA3.0专项费用充值-任务表 服务类
 * @author xiaochuan
 * @since 2021-03-09
 */

public interface ITblRpaChargeTaskService extends IBaseService {
    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     * @throws ServiceException
     */
    public TblRpaChargeTask getFoot(Map<String, Object> params) throws ServiceException;

    /**
     * updateByParam
     * @param params
     * @throws ServiceException
     */
    public void updateByParam(List<RpaChargeTaskUpdateApiRequestParams> params) throws ServiceException;

    /**
     * 当日可用余额查询
     * @return
     * @throws ServiceException
     */
    public List<Map<String,Object>> getAvailableBalance() throws ServiceException;

    /**
     * getByDetailNumberId
     * @param detailNumberId
     * @return
     * @throws ServiceException
     */
    public TblRpaChargeTask getByDetailNumberId(String detailNumberId) throws ServiceException;


}

